package com.zhouheng.springbootmultithreading.module.bankaccount.entity;

import lombok.Data;

import javax.persistence.*;

@Data
@Entity
@Table(name = "bank_account", catalog = "zhouheng")
public class BankAccount {

    @Id
    @Column(name = "account")
    private String account;

    @Column(name = "password")
    private String password;

    @Column(name = "money")
    private Double money;

}
